package com.example.lib2;

public class RubberDuck extends Duck {
    @Override
    public void display(){
        System.out.println("I am Rubber Duck");
    }
    RubberDuck(){
        flyBehavior = new FlyWithWings();
        quackBehavior = new Quack();
    }
}
